import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/my-data-manage',
    component: () => import('@/views/online-lab/my-data-manage/index.vue'),
    meta: { title: '数据管理' },
    redirect: '/my-data-manage/list',
    children: [
      {
        path: '/my-data-manage/list',
        component: () => import('@/views/online-lab/my-data-manage/list/index.vue')
      },
      {
        path: '/my-data-manage/detail/:id',
        component: () => import('@/views/online-lab/my-data-manage/detail/index.vue')
      },
      {
        path: '/my-data-manage/my-data-overview/:id',
        component: () => import('@/views/online-lab/my-data-manage/overview/index.vue')
      }
    ]
  }
]

export default routes
